check for lock file implemented