removing the loop() funcion