added gridhook