methods with arguments with curly braces