Setting up generators