while loop worked
git ignore added
git samples directory removed