Added caclulator code