accept both notation for deps