Altered to fix broken changes in SQLHelper