added precommit to repo