snippets of code for my hackNY application