part fo the messages demo