improved loc solver so much