variable made public
added sample and .gitignore