working on separate locks