finish basic function and renew README file