new routines in test.py