Adding a check for backend