split the function containers