adding try/catch around retrieval of properties