Removed extra bracket and corrected parameter name so that sample code works