sherlock solved

can do a lot more optimization