adding some test routines