end of class 22, accelerometer and in-app purchases