task4: check routine