calculations done