Thank you to @jr0cket and @grumplet. Your advice was very helpful, and helped fix the holes in my code!