adding some drawing macros for balance functions