completed

basic functions completed