corrected the multiplication functionality