renamed generator for brevity