Basically rewritten zo2 social functions