A little more code covering the line 46 where the error is will be better