code updates with demo