How to write an assignment