generating cycling controller and coding controller