Assignments in API