Before my implementation take 2
Rotation deciphering almost done