How to create an assignment