supports duration as expressed in seconds using integer