retuend value for Mastercard function