new interface with time and duration