solved problems 144 and 230