adds validating presence of slug