work on lawyer functions