updated and cleaned Decrypt