create-assignment works