made changes the ref requested
added a few more changes
finshed edits