this is very easy, it is about encode and decode