Added priority feature