added norm (last element) to Function