Sidebars generation works. Now it's time for conditions.