bug fix
refactored code
update ignore