Added Input Time with working functionallity