Better design for printPending()