output control functions