Removing helper function.