fixed syntax issue on line 24