Removed rest and wrote about locks