added span variable