Fixed the issues. Prototype is working now.