example generator with imports