added macros and shared example for queue items controller