finally reading from the db