added dependencies, entity, and checking for dependencies