fixed while loops
no console.log