started calculating constants