added options to tree and table