added buttons, viewimgs created