Put assignment in API