implemented solution validation through console interface