Basic generate controller