Move code sections into their own functions