added dependencies to check resource