renamed class scanning to be more appropriate