abstraction done for addition for length and volume