sinatra calculator