minor edit to functions file