added a first hack at frame dropping, probably incorrect