move intake user control function to UserControl.c