more work on initializing parameters