get.objects function

get objects