refactoring nasainterface so that it may take any input