added some sidebar work