first version - simple calculator