changed grid in sensor structure2