getAttributes added