changed way to put a piece