define the constants and messages