Added Standalone Code