better way to do dependencies