add sample. use setVisible and setOpacity