less global state pls
extract assignments.coffee