setup messaging methods