added if to see if resource already exists, skip over record parse in that case