big update on version and version_filter, work in progress