add span and brk string impl