fixing error on line 6