added accuracy check on server-side