first shot at compileDecl