added extra buttons and extra functionality