use a slug class