delte unnecessary codes