Add function to get control and fri mode