encryption working & debugging format basically matches