cleaner code
after merging resolve error, added gitignore to work independently