Updated to re-use func to get credit account