this function only work for test, write a comment to address it