make txtine not need swift