added a basic scrambler