added the sqls