supports duration as expressed in seconds using integer
remove useless config