initial setup for messages and locations