minor code cleanup
updated readme