same validation on the backend side