got past DB.connection error, compilation error, and now working on query syntax