fixing funny params and faulty paren