Attempts to make some calculations server side