adding simple moving square