* added puzzle_solved check
* fixed a bug where the second method output was zeroing output from method one