initial getSlug implementation