consolidates th params