adding queue management and buttons