add smashing to index