add echo color
binary search template