improved ex.5