Refactor: Extract method