edits to methods