Part 4 is Complete

swap:
    check if addresses are valid, mark flags on creating, etc.