simplified program structure (remove generations). Problems persist