solution found: apparently working