added "draw" condition