Trying something with moving things into the loop. If you're following this, don't use this yet.