How can I write an assignment