revised attribute_get