make retention time configurable