removed earlier version and first attempt at generation.