add named functions option