Some stuff with sending msgs