Added generator for fitness casesfor functions