working build of calculator