fixed example; added example for obj properties