locking test; version generator added