gui management of pieces