changed grid in sensor structure3