add new function for testing
use another function to display test cases