changed grid in sensor structure4