add decoder solution