bug fix. renamed function to full_name
check that the generator exists