task2: warning about stdlib because of exit() was fixed