Bug fixes/ modified payload from long to char array