Added Time Constraint
Corrected Parsing
corrected integer error