fix build broken by removing helper methods