trying to get Delete Item function and obtainImg function to work.