Finally got something compiling.  Starting to understand the types maybe