Added some controls
Adding constants.