make bold function with array