Fixes loop, in chance var doesn't declare first