Will this still work if the database is remote?  (also a few spacing problems)