first commit. only contains two functions, plus some demo data