removed general masks function, was overwriting core pandas functionality