edits in switchmethods