Creating IDouble component