first commit. warning, probably unstructured code and redundancy from hackathon