add avgPlace macros