try to get generator working