added contracts for action_timer.rb