Added inplace changes