changed area to input from grid file