Making priority available in returning list