wrote readinpuzzle