introduce get proerties
use each
chain
compare object vs undefined
improve the chain to get property names
add test fro get properties