after a few hours I managed to solve it. Thus