You access and set these attributes above and then you loop through and re-access to delete them. Can these be combined?