view button populates list