added extra messageTypes to String[] messageTypes