done some refactoring
refactored finding spots method