Added some example maths to the loop function