need the method to calculate the fine