broken window's movement. needs refactoring