Added maxTime and loopIn/loopOut vioews