added new function generateNether