Looping through bodies and getting their properties