change type checking to use .isArray(), update version