starting to work with different msg classes