making required changes