PRINCE: Code clean up. loadShadow() implement