added database method get class name