guarantee initialization/add msg accessor function