implemented frame diff