added best mass functions