updated code updated readme.txt