Added a prototype to test the stack/learn