added function specnorm