add slug-function example