source code for calculator to try open shift