works again after states refactoring
added msgs events