works with lock on root