Added flags for characters to store boolean variables.