improve 4 solutions