Add more comments. Optimize code