add "ready", when programm finishes