complex numbers and some small improvements