database access works just fine can get class info