adding variable class