basic version of calculator