add some array api snippets, fix ds-attr, remove debug statements