Extract helper
Extract method