Use main functions.