Submit all function pieces here.