removed duplicate occurance of instances