populate options when buttons clicked