sidebar generation -- still needs to replace as well