changed const ::version to ::VERSION