added basic slug functionality