added functional buttons