cleaned up habit.rb