added components for both 'integer' and 'double' attributes