the call to target should probably look for the last rather than the first item as well