add is array check