added method to create the slug.