@bthirion Need suggestions about what function to put below.