handled imports to dependencies and dependants