switched obj_scan over to switch. obj_scan should be pretty much done