group dependencies