add options to the functions