calculator finally working