Removed reverse logic