finishes params