refactoring rat hunting
spider behavior is working