some test with while loops