Math for the offsets, performance improv