changed grid in sensor structure1