changes to find piece color