Reverse logic class fix