added haptic and messagebox