initial design of calculator