wrote ident() and scalar_mult