updated version logic to account for new minor versions