Updated Code with shuffleless and shuffleless writeless