updated for changes to ews