Added attr snippet