added definitions for lockfile