made sure we can only join proper calculation from the frontend