remove unused function
expand test program