populate representation buttons dynamically