changed getAttributes to return empty array