attempting to optimize drawing connections