some more code for calculator