checking in production.sql