new base sql, tags added, content fixed