added outlets

made function to add outlets to functionGroup.