Extract common method