Progress checkin, implemented basic invert, doesn't compile