Refactor to actually use the curry to collect state