converted some assignments to use get instead of a direct assignment