merge helpers into one