added retention-time option