initial commit with first functions and test case