added the libre calc stuff that gives the final answer