own attempt of dependency loader