added Lock Guard