This edit by Shamoon is wrong. OP answered his own question, correctly, and the edit causes the answer to no longer answer OP's question.
Isn't it considered bad practice to edit code? Especially if it's in an answer written and accepted by OP?
This answer now gives the format that many are looking for (which another answer already did), but does not answer the OP's question. It's quite confusing.
And since the edit is recent considering the age of the post, I imagine that most of the upvotes happened before the edit. I tried to rollback the edit and submit a clarification, but it was rejected.