Trying to figure out how to generate properties