add span in key feature