removed attribute.value function