Improved interface and mine gen