working on user interface for inference