populating messages works