Using std complex numbers