first commit

first commit after functions written