add a get_prop helper fn