Added check for multiplication