Playing around with ideas. Got the encoding schemes, finally. :)