Fix Illusion bug Mark II

More efficient coding