added control panel and trail