minor edits, removing printouts