initial draft of inl, uncompiled and untested