cant believe i missed that syntax error for so long