Added interface to put in start time and length