populates sidebar