change stub to double