added functionality to multiply