encoding and decoding in working state. check group page for instructions on how to test/use