implement loops and floating point arithmetic