added reverse parameter on run method