Made constants all uppercase and added comments explaining them.