added chair code