moved multiplication to be a function; currently unimplemented