base draw units code