ok, finally working