moved print code from move to play