add third arg to ctlinput routines