edits to comment out unused function