got fields and parameters working