changed how the priority is collected so that angle brackets are
excluded