maked two separate actions for encoding/decoding. they are also available as command args