add record overbooking loss function