added tester and doube locks