Function extendBody