fixed the stats issue and added .gitignore file