added element leaf viewer