added mostUrgent function to registry