scrambling input works