this kind of $decode stupidity isnt needed here..