made locking list, writing simple list