initial source code from the hackathon