add isArray and trim methods