example function dec.