more edits as suggsted by Ripley