floundered
sets up params hash