edited for zero object images