implemented attributes in NumberElement