wrote code in readme