add logic to check dependencies are working fine.