Obama says he's hopeful despite challenges