Issue9

basic function done