toggle piece logic, may need to change...