Rough calculator working