Fix parentheses in sample fuctions