reorganization html + arrays