add solve solution logics and some css modification