added panel 3 button fucntionality