add formatting pipe to index