Design and translation for controllers