begin drawBox