ironing our database access