import the first set of functionality from my phd repo