Accuracy a little bit cleaner and commented :)