minor edits

removing unused code