created form class; set simple slug function