test code ready, add undefined functions for test