added reverse option handler