linking function to make functional control structures