minor edits

removed debugging output.
changed variable names for readability.