things looking good except for memory copy issue