figure out how to create children element