Added frame delay buffer