added trimWhite.R