added abstract grid model