Move helpers earlier in file and add comments