move loggin of version to core