sub controller doc