introduced average-frame to standard library