Main time input functionality finished