php version for direct insert in the node
restyled