factors, grid not working