add feature to userstools.py