Implement calculator