debuged and sidebar introduced