removing lock
adding type hinting