Added ability to insert children in specified place