Changed approach to get properties