Chose from several different functions.