still working on debugging
checking the line 78