David changes in math. model