implement Thor and generate params