Changing transferGrid method. Old method too workaround prone.