wrap duration and position from device
adapt test mock interface