changed function name and commented line 47