real-time application finished (first version)