Oops, implemented the reverse logic instead.