sidebar code added