Add functions except the main function