modified grant handler