changed strategy to pass params as profile