I improved your code