The code actually isn't that bad. It's a shame she didn't finish. Using it as the base for this feature.