hw5 kinda done have the solution, but don't know is it appropriate implementation