Don't read from params directly; save to variables first.
Added mockup to 256.