move graph under body
refactor extendo structure in template
ptips structure