design pattern decided and commenced work on assigning flags to each char.