Added comments about code
Removed unnecessary constants