testing locked, added Setting variable for later use