add curry
edits and ordering