rewriting parts of creating properties