First attempt at initialize generator