almost finished with decodes