util functions
setting pieces without game logic