lazy cockpit init