complete slug implementation