modified: refined version comparing logic.
added: older version handling.