aded new functions to top panel controller