Use pointer everywhere
Finish decode some values