sample code for calculator