write assignments