added the rep display function