Have you noticed that someone used n instead of m now? This is not a crucial part of system such bug could cause serious problems in application business logic and it might be found after a few days, weeks or months. Solution is quite simple, just check this article.
No matter whether you create application for your own or you work in a team, no matter you work on a small project or a big one – you should always care about your code quality.