added scramble capability