slight variable assignment change