added array ,button action