Get rid of everything but the actual calculations