adding some decodes and prints