cleanning the code