use norm function