Vašek\'s routine