Created rod as an instantiation of part class