Added getParameters method