solo version of birthday.rb