adding sherlock and squares code