added first functions

initial version