Constants and global variables definition added.