Working on tabbed pain class