changed ex to string