encapsulated rod class