use sidebar and agent; closes #4