reworked as Sinatra