made it better readable. now coding loop()