first version of calculator