Some more progress. I can call a function to create an element in moose.