accesses database now