Working version, with parameter added to method call.