add file containing basic functions to handle censoring