consolidated f interior functions