how to create an assignment