added record feature (without animation)