removed lock unlock and islocked methods