added mactext to span