rename static generic functions
make it possible to run test program with no args