adding lockfile