Fixed syntax errors.
Use constants for setting names.