implemented message, working on snapshot.c