replaced hidden field with a css class