refactor: extract method step