Changed ENCODED HashMap to char array