minor edits to methods