not a good way to solve it