add $ method for sub element