event class,  team class and strprs functions