Final code submitted to hackathon.