adding wrapper prototype