scratch loops