added basic database access?