added a time reverse parameter