It doesnt work so I filled the code with console logs