readd retrieveProperty function