add class to span