easier way how to handle version formats