Emulating windows calculator