mostly solves puzzle sometimes