bugfix/polymorphic behaviour

- temporary disabled garbage byte function because of a bug
- added dynamical XOR function