make decode private