working on setting up everything for lock