checkign group value, adn inserting device