Added time constraint