dropPiece and moved code to appropriate place