slightly nicer method of overwriting properties