change init structure
change size message arrays to type size_t