code clean for solution10