Legal aspects of property investment