minor changes in calculator