real-time demo about to be debugged