implemented multiplication in a simpler way using the new data model