wrong order bug fixed
(just broken when trying to find first bug)
added comments