span class first in class definition