clean-up slug-function example