messaging works properly