basic function
updated readme