remove unnecessary secondary helper function
nicer formatting