add ignore file
refactor code