initial implementation of row level locking