frame-clock; optimizations; stuff