Finnally got it to compile