remove local variables and functions from class
remove local variables and functions from class
break as soon as two hits are indentical