Minor edits

Removed commented code and unused procedure.