add comments for display
add sort function and unitest