Added check for deps