Helper updated to make 23 solution work