Improve acceleration example