updated example showing slug parameter.