add lifecycle method
reset .gitignore