work on assignments api.