Add function name as option