added display function and deleted other useless files