Comments look better. :)
Refactoring. Added enum for parameters.