adds Fan-Hal's sql statements