removed unused code added side bar options