updated to remove attribute