Moved all constant definitions to the bottom
Created constraint check 20