Extract private method