Is this gonna be called a lot? because gotLock could be get rid of in that case.