added white_list function. #266