friends homework with sinatra