Replaced 120.minutes with time in seconds to stop undefined method minutes for Fixnum