problem seems to be on line 871