do some modifications