removed body (==children) from Function data