working on improving lock speed