multiplication method working properly