almost there with bars, figured out templates a bit more