A simple API to make some calculations