support for children number and function