renaming the variable to be more accurate
wired the resources delete() method