checks for production