Created working version for getting and retrieving properties