add pre-commit hook
wip