now pulling instances correctly