implemented check priority / tag uniqueness