Updated version for publish