bug fixed in line 2