make struct BodyParams more universal