Added sidebar code