got loading memory arrays into html working