small edits to methods