added Solution class