space after `for`. also,given onDecodeComplete is an array, this should be a forEach loop?