decode all at one time