small changes to calculator