Starting main calc