can you explain how that priorty slot macro works?