modified models to accept Strings