Added time constraints